formsflow.ai Version Upgrade
Formsflow.ai is frequently updated with new features and bug fixes. To ensure the best user experience and access the latest features, upgrading to the newest version of formsflow.ai is essential.
For a complete Docker deployment or individual service deployment, follow these steps to upgrade to the latest version:
- Pull the latest version from here.
- Update the environment variables in the
.envfile located within the respective folders, as outlined below.
Version 5.3.0 to 6.0.0
-
forms-flow-web-root-config
Optional Changes
- Added environment variable
KEYCLOAK_URL_HTTP_RELATIVE_PATHto specify the Keycloak relative path.
- Added environment variable
-
forms-flow-bpm
Optional Changes
- Added environment variable
KEYCLOAK_URL_HTTP_RELATIVE_PATHto specify the Keycloak relative path.
- Added environment variable
-
forms-flow-api
Optional Changes
- Added environment variables:
REDIS_URLto configure Redis for caching purposes.KEYCLOAK_URL_HTTP_RELATIVE_PATHto specify the Keycloak relative path.CONFIGURE_LOGSto enable/disable log file rotation.
- Added environment variables:
-
forms-flow-documents
Optional Changes
- Added environment variables:
REDIS_URLto configure Redis for caching purposes.KEYCLOAK_URL_HTTP_RELATIVE_PATHto specify the Keycloak relative path.CONFIGURE_LOGSto enable/disable log file rotation.
- Added environment variables:
-
forms-flow-data-analysis-api
Optional Changes
- Added environment variables:
KEYCLOAK_URL_HTTP_RELATIVE_PATHto specify the Keycloak relative path.API_LOG_ROTATION_WHENto specify the frequency of log file rotation.API_LOG_ROTATION_INTERVALto set the time interval for log file rotation.API_LOG_BACKUP_COUNTto determine the number of backup log files to keep.CONFIGURE_LOGSto enable/disable log file rotation.
- Added environment variables:
Version 5.2.0 to 5.3.0
-
forms-flow-web
Optional Changes
- Added environment variable
DATE_FORMATto change the date format. - Added environment variable
TIME_FORMATto change the time format. - Added environment variable
CUSTOM_THEME_URLto override the theme. - Added environment variable
CUSTOM_RESOURCE_BUNDLE_URLto customize the resource bundle for internationalization.
- Added environment variable
-
forms-flow-api
Optional Changes
- Added environment variable
API_LOG_ROTATION_WHENfor specifying the frequency of log file rotation. - Added environment variable
API_LOG_ROTATION_INTERVALfor setting the time interval for log file rotation. - Added environment variable
API_LOG_BACKUP_COUNTfor determining the number of backup log files to keep.
Upgrades
- Flask upgraded to 2.3.3 and fixed security vulnerabilities.
- Added environment variable
-
forms-flow-documents
Optional Changes
- Added environment variable
API_LOG_ROTATION_WHENfor specifying the frequency of log file rotation. - Added environment variable
API_LOG_ROTATION_INTERVALfor setting the time interval for log file rotation. - Added environment variable
API_LOG_BACKUP_COUNTfor determining the number of backup log files to keep.
Upgrades
- Flask upgraded to 2.3.3 and fixed security vulnerabilities.
- Added environment variable
-
forms-flow-bpm
Upgrades
- Camunda upgraded to 7.20.0, SpringBoot upgraded to 3.1.5, and fixed security vulnerabilities.
Note: Added migration script to move current Camunda authorizations and existing task filters from forms-flow-bpm to forms-flow-api. Follow the instructions here.
Version 5.0.0 to 5.2.0
-
forms-flow-web
Optional Changes
- Environment variable
USER_ACCESS_PERMISSIONSis replaced withENABLE_APPLICATION_ACCESS_PERMISSION_CHECKto enable role-level permission.
- Environment variable
-
forms-flow-bpm
Optional Changes
- Added environment variables
REDIS_ENABLED,REDIS_HOST,REDIS_PORT,REDIS_PASSCODE, andSESSION_COOKIE_SECURE.
- Added environment variables
-
forms-flow-forms
Optional Changes
- Added environment variable
FORMIO_CLIENT_UI.
- Added environment variable
-
forms-flow-web-root-config
Mandatory Changes
- Added environment variables:
MF_FORMSFLOW_WEB_URLMF_FORMSFLOW_NAV_URLMF_FORMSFLOW_SERVICE_URLMF_FORMSFLOW_ADMIN_URLMF_FORMSFLOW_THEME_URLto support MicroFrontend Components.
Optional Changes
- Added environment variables:
ENABLE_FORMS_MODULEENABLE_TASKS_MODULEENABLE_DASHBOARDS_MODULEENABLE_PROCESSES_MODULEENABLE_APPLICATIONS_MODULEto disable specific modules in forms-flow-web.
- Added environment variable
CUSTOM_THEME_URLfor providing theming configuration.
- Added environment variables:
Note: For listing all forms for clients, existing users should run the RBAC migration script with Camunda authorization. Follow the instructions here.
Version 4.5.0 to 5.0.0
-
forms-flow-web
Mandatory Changes
- Rename the following environment variables (values remain unchanged):
CAMUNDA_API_URLtoBPM_API_URL.REACT_APP_CAMUNDA_API_URItoREACT_APP_BPM_URL.
Optional Changes
- Add environment variables
MULTI_TENANCY_ENABLED,MT_ADMIN_BASE_URL,MT_ADMIN_BASE_URL_VERSIONto support multi-tenancy. SetMULTI_TENANCY_ENABLEDtoTruefor multi-tenancy support. - Add environment variables
CUSTOM_SUBMISSION_URL,CUSTOM_SUBMISSION_ENABLEDto support the form adapter. - Add environment variables
DRAFT_ENABLEDandDRAFT_POLLING_RATEto manage the draft feature, saving unsaved applications as drafts. - Add environment variable
EXPORT_PDF_ENABLEDfor PDF service to export forms in PDF format. - Add environment variable
DOCUMENT_SERVICE_URLfor document service. - Remove environment variables
CLIENT_ROLE_ID,DESIGNER_ROLE_ID,REVIEWER_ROLE_ID,ANONYMOUS_ID,USER_RESOURCE_ID. - Remove environment variable
FORMIO_JWT_SECRET. - Remove environment variable
REACT_APP_FORMIO_JWT_SECRET.
Note: Reference values for these environment variables can be viewed here.
- Rename the following environment variables (values remain unchanged):
-
forms-flow-api
Mandatory Changes
- Rename environment variable
BPM_API_BASEtoBPM_API_URL(value unchanged). - Add environment variable
FORMIO_JWT_SECRET.
Optional Changes
- Add environment variables
MULTI_TENANCY_ENABLEDandKEYCLOAK_ENABLE_CLIENT_AUTHto support multi-tenancy. - Remove environment variables
KEYCLOAK_ADMIN_USERNAMEandKEYCLOAK_ADMIN_PASSWORD, as admin APIs now use a service account (v4.0.5). - Remove environment variable
KEYCLOAK_BPM_CLIENT_SECRET, as it is not mandatory (v4.0.5).
Note: Reference values for these environment variables can be viewed here.
- Rename environment variable
-
forms-flow-bpm
Mandatory Changes
- Rename environment variable
BPM_BASE_URLtoBPM_API_URL(value unchanged).
Optional Changes
- Remove environment variable
KEYCLOAK_BPM_CLIENT_SECRET, as it is not mandatory (v4.0.5). - Add environment variables
MULTI_TENANCY_ENABLED,KEYCLOAK_ENABLE_CLIENT_AUTH,KEYCLOAK_WEB_CLIENTID,FORMSFLOW_ADMIN_URLfor multi-tenancy support. - Add environment variables
CUSTOM_SUBMISSION_URL,CUSTOM_SUBMISSION_ENABLEDto support the form adapter.
Note: Reference values for these environment variables can be viewed here.
- Rename environment variable
-
forms-flow-forms
Optional Changes
- Add environment variable
MULTI_TENANCY_ENABLEDto support multi-tenancy.
Note: Reference values for these environment variables can be viewed here.
- Add environment variable